﻿@model KhatVongViet.Models.UserModel
@{
    Layout = null;
}
<html>
<head>
    <title>Khát Vọng Việt - Thay Đổi Mật Khấu</title>
    <!-- Reset Stylesheet -->
    <link rel="stylesheet" href="../../Content/resources/css/reset.css" type="text/css"
        media="screen" />
    <!-- Main Stylesheet -->
    <link rel="stylesheet" href="../../Content/resources/css/style.css" type="text/css"
        media="screen" />
    <!-- Invalid Stylesheet. This makes stuff look pretty. Remove it if you want the CSS completely valid -->
    <link rel="stylesheet" href="../../Content/resources/css/invalid.css" type="text/css"
        media="screen" />
    <!-- jQuery -->
    <script type="text/javascript" src="../../Content/resources/scripts/jquery-1.3.2.min.js"></script>
    <!-- jQuery Configuration -->
    <script type="text/javascript" src="../../Content/resources/scripts/simpla.jquery.configuration.js"></script>
    <!-- Facebox jQuery Plugin -->
    <script type="text/javascript" src="../../Content/resources/scripts/facebox.js"></script>
    <!-- jQuery WYSIWYG Plugin -->
    <script type="text/javascript" src="../../Content/resources/scripts/jquery.wysiwyg.js"></script>
</head>
<body id="login">
    <div id="login-wrapper" class="png_bg">
        <div id="login-top">
            <!-- Logo (221px width) -->
            <img id="logo" src="../../Content/resources/images/logo.png" alt="Admin logo" />
        </div>
        @using (Html.BeginForm())
        {
            <div id="login-content">
                <div class="notification information png_bg">
                    <div>
                        Tip: Thay đổi password thường xuyên
                    </div>
                </div>
                <table>
                    <tr>
                        <td width="100px" style="vertical-align: middle; text-align: left">
                            User name
                            @(Html.TextBoxFor(u => u.UserName, new { style = "width: 200px; height: 30px; margin-right:10px;" }))
                        </td>
                        <td>
                            <br />
                            @Html.ValidationMessageFor(u => u.UserName)
                        </td>
                    </tr>
                    <tr>
                        <td width="100px" style="vertical-align: middle; text-align: left">
                            Current Password
                            @(Html.PasswordFor(u => u.Password, new { style = "width: 200px; height: 30px;margin-right:10px;" }))
                        </td>
                        <td>
                            <br />
                            @Html.ValidationMessageFor(u => u.Password)
                        </td>
                    </tr>
                    <tr>
                        <td width="100px" style="vertical-align: middle; text-align: left">
                            New Password
                            @(Html.PasswordFor(u => u.NewPassword, new { style = "width: 200px; height: 30px; margin-right:10px;" }))
                        </td>
                        <td>
                            <br />
                            @Html.ValidationMessageFor(u => u.NewPassword)
                        </td>
                    </tr>
                    <tr>
                        <td width="100px" style="vertical-align: middle; text-align: left">
                            Confirm Password
                            @(Html.PasswordFor(u => u.ConfirmPassword, new { style = "width: 200px; height: 30px;margin-right:10px;" }))
                        </td>
                        <td>
                            <br />
                            @Html.ValidationMessageFor(u => u.ConfirmPassword)
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <input type="submit" value="Update" style="width: auto" />
                        </td>
                        <td>
                        </td>
                    </tr>
                </table>
            </div>
        }
    </div>
</body>
</html>
